
package com.sm.shoplook.dao.mapper.system;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sm.shoplook.domain.system.Permission;
import com.sm.shoplook.vo.system.permission.PermissionMenuRespVo;

import tk.mybatis.mapper.common.BaseMapper;

public interface PermissionMapper extends BaseMapper<Permission> {

	List<Permission> selectPermissionsByRoleCode(String roleCode);

	List<PermissionMenuRespVo> selectFirstLevel();

	List<PermissionMenuRespVo> selectSecondLevel(@Param("menuCode") String menuCode);

	List<Permission> selectThreeLevel(@Param("menuCode") String menuCode);
}
